//
//  PILine.h
//  iPaint
//
//  Created by Jedd Haberstro on 2/12/07.
//  Copyright 2007 __MyCompanyName__. All rights reserved.
//

#import <Cocoa/Cocoa.h>
#import "PIGraphic.h"

@interface PILine : PIGraphic {
	NSPoint _firstPoint; // Starting point
	NSPoint _nextPoint; // Next point;
	
	// NOTE: Might have to have a mutable array of point instead 
}

/////////////////////
// Get _firstPoint //
/////////////////////
-(NSPoint)firstPoint;

////////////////////
// Get _nextPoint //
//////////////////// 
-(NSPoint)nextPoint;

/////////////////////////////////
// Set location of _firstPoint //
/////////////////////////////////
-(void)setFirstPoint:(NSPoint)point;

////////////////////////////////
// Set Location of _nextPoint //
////////////////////////////////
-(void)setNextPoint:(NSPoint)point;

//////////////////////////////////////////////////////////////
// Sets the first point of the _path intance to _firstPoint //
//////////////////////////////////////////////////////////////
-(void)setStartPointOfPath;

////////////////////////////////////////////////////////
// Adds the _nextPoint point to the _path intance var //
////////////////////////////////////////////////////////
-(void)addPointToPath;

////////////////////////////////////////
// Draw the path (_path instance var) //
////////////////////////////////////////
-(void)draw;

@end
